<?php defined('_JEXEC') or die('Restricted access'); ?>

<form action="index.php" method="post" name="adminForm" id="adminForm">
<div class="col width-50">
	<fieldset class="adminform">
		<legend><?php echo JText::_( 'Sync Details' ); ?></legend>

		<table class="admintable">
		Upon syncing, the table structure to the right will be populated globally to all multisites. Multisites with missing tables will
		have them created and multisites which have tables not in this list will have them removed.
		
	</table>
	</fieldset>
</div>
<div class="col width-50">
	<fieldset>
		<legend><?php echo JText::_('Tables To Be Globablly Synced'); ?></legend>
		<table>
		<?php foreach ($this->tables as $table){
				echo JText::_($table);
				echo "<br/>";
			} ?>
		</table>

	</fieldset>
</div>

<div class="clr"></div>

<input type="hidden" name="option" value="com_multisite" />
<input type="hidden" name="id" value="<?php echo $this->multisite->id; ?>" />
<input type="hidden" name="task" value="" />
<input type="hidden" name="controller" value="multisite" />
</form>